package com.migo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.migo.dao.MgAudioTypeDao;
import com.migo.entity.MgAudioTypeEntity;
import com.migo.service.MgAudioTypeService;



@Service("mgAudioTypeService")
public class MgAudioTypeServiceImpl implements MgAudioTypeService {
	@Autowired
	private MgAudioTypeDao mgAudioTypeDao;



	@Override
	public List<MgAudioTypeEntity> queryAudioTypeList(Map<String, Object> map){
		return mgAudioTypeDao.queryAudioTypeList(map);
	}

	@Override
	public List<MgAudioTypeEntity> queryaudioType(String language){
		return mgAudioTypeDao.queryaudioType(language);
	}

	
	@Override
	public MgAudioTypeEntity queryObject(Integer audioTypeId){
		return mgAudioTypeDao.queryObject(audioTypeId);
	}
	
	@Override
	public List<MgAudioTypeEntity> queryList(Map<String, Object> map){
		return mgAudioTypeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return mgAudioTypeDao.queryTotal(map);
	}
	
	@Override
	public void save(MgAudioTypeEntity mgAudioType){
		mgAudioTypeDao.save(mgAudioType);
	}
	
	@Override
	public void update(MgAudioTypeEntity mgAudioType){
		mgAudioTypeDao.update(mgAudioType);
	}
	
	@Override
	public void delete(Integer audioTypeId){
		mgAudioTypeDao.delete(audioTypeId);
	}
	
	@Override
	public void deleteBatch(Integer[] audioTypeIds){
		mgAudioTypeDao.deleteBatch(audioTypeIds);
	}
	
}
